import { post } from '@/utils/request'
// 认证状态查询
export const authentication = p => post(`/service-global/g/tenantIdentification/v1/auditStatus/view`, p)

export const authenticationModify = p => post(`/service-global/g/tenantIdentification/v1/auditStatus/change`, p)
// 主体认证保存
export const subjectAuthentication = p => post(`/service-global/g/tenantIdentification/v1/enterprise/enterpriseInfoSave`, p)
// 主体认证查看
export const subjectAuthenticationSee = p => post(`/service-global/g/tenantIdentification/v1/enterprise/enterpriseInfoView`, p)

// 经营主体认证-法人信息保存
export const legalInfoSave = p => post(`/service-global/g/tenantIdentification/v1/enterprise/legalInfoSave`, p)

// 银行账户认证保存
export const bankAuthenticationSave = p => post(`/service-global/g/tenantIdentification/v1/bank/save`, p)

export const bankAuthenticationSee = p => post(`/service-global/g/tenantIdentification/v1/bank/view`, p)
// 商标认证保存
export const trademarkAuthenticationSave = p => post(`/service-global/g/tenantIdentification/v1/trademarkAuth/save`, p)

export const trademarkAuthenticationSee = p => post(`/service-global/g/tenantIdentification/v1/trademarkAuth/view`, p)
// 品牌认证保存
export const brandAuthenticationSave = p => post(`/service-global/g/tenantIdentification/v1/brandAuth/view`, p)
export const brandAuthenticationSee = p => post(`/service-global/g/tenantIdentification/v1/brandAuth/view`, p)
